import config from "@/config"
import http from "@/utils/request"

export default {
    member: {
        list: {
            url: `${config.API_URL}/manage/member/list`,
            name: "获取会员列表",
            get: async function(params={}){
                return await http.get(this.url, params);
            }
        },
        edit: {
            url: `${config.API_URL}/manage/member/edit`,
            name: "编辑会员信息",
            post: async function(data={}){
                return await http.post(this.url, data);
            }
        }
    },
}
